﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网上报名-合肥猎头网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/view/css/user.css"
    type="text/css" media="all" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
<!--
    function doLogout() {
        adminLogoutForm.submit();
    }
//-->
</script>
</head>
<body>
    <%@include file="/view/adminMenu.jsp"%>

    <div class="midBox">
        <div class="midTitle">收费统计</div>
        <div class="cnt">

            <table width="100%" border="0" cellpadding="0" cellspacing="1"
                bgcolor="#E1E1E1">
                <tr>
                    <td height="32" align="left" bgcolor="#FFFFFF" valign="middle"
                        style="padding-left: 10px;"><b><span
                            style="color: #666666">收费统计</span></b></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                    <td colspan="2" valign="top" align="center" height="25"
                        style="padding-top: 5px;"><form:form name="orderAnalyzeForm"
                            method="post" action="${contextPath}/orderAnalyze.action"
                            commandName="OrderAnalyzeCommand">
                            <table width="95%" border="0" cellpadding="4" cellspacing="0"
                                bgcolor="#E1E1E1">
                                <tr bgcolor="#ffffff">
                                    <td style="text-align: right; width: 15%;">类别：</td>
                                    <td style="text-align: left; width: 15%"><form:select
                                            path="analyzeType" id="analyzeType">
                                            <form:option value="1">公告别统计</form:option>
                                            <form:option value="2">岗位别统计</form:option>
                                        </form:select></td>
                                    <td><input type="submit" value="筛选" /></td>
                                </tr>
                            </table>
                        </form:form></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                    <td colspan="2" valign="top" align="center"
                        style="padding-top: 5px; padding-bottom: 5px;">
                        <table width="99%" border="0" cellpadding="4" cellspacing="1"
                            bgcolor="#E1E1E1">
                            <tr bgcolor="#f7f7f7">
                                <c:if test="${OrderAnalyzeCommand.analyzeType == 1 }">
                                    <th style="width: 60%;" nowrap="nowrap">公告名称</th>
                                </c:if>
                                <c:if test="${OrderAnalyzeCommand.analyzeType == 2 }">
                                    <th style="width: 20%;" nowrap="nowrap">部门</th>
                                    <th style="width: 20%;" nowrap="nowrap">岗位编码</th>
                                    <th style="width: 20%;" nowrap="nowrap">岗位名称</th>
                                </c:if>
                                <th style="width: 20%;" nowrap="nowrap">缴费人数</th>
                                <th style="width: 20%;" nowrap="nowrap">缴费总金额</th>
                            </tr>
                            <c:forEach items="${orderAnalyzeInfos}" var="orderAnalyzeInfo">
                                <tr bgcolor="#ffffff">
                                    <c:if test="${OrderAnalyzeCommand.analyzeType == 1 }">
                                        <td>${orderAnalyzeInfo.examName}</td>
                                    </c:if>
                                    <c:if test="${OrderAnalyzeCommand.analyzeType == 2 }">
                                        <td>${orderAnalyzeInfo.departName}</td>
                                        <td>${orderAnalyzeInfo.officeCode}</td>
                                        <td>${orderAnalyzeInfo.officeName}</td>
                                    </c:if>
                                    <td align="right">${orderAnalyzeInfo.totalPaied }</td>
                                    <td align="right"><fmt:formatNumber maxFractionDigits="2" minFractionDigits="2">${orderAnalyzeInfo.totalAmount }</fmt:formatNumber>元</td>
                                </tr>
                            </c:forEach>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <%@include file="/view/footer.jsp"%>
</body>
</html>
